/* 
 * File:   Matriz.h
 * Author: silveira
 *
 * Created on 4 de Novembro de 2008, 17:37
 */
#ifndef _MATRIX_H
#define	_MATRIX_H

#include <stdio.h>
#include <stdlib.h>

typedef struct _Matrix{
    int n;
    float ** M;
} Matrix;

Matrix * matrixnew(char * filename);
void matrixshow(Matrix * m);
void matrixshowline(Matrix* m, int line);
float matrixget(Matrix* m, int line, int collumn);
float * matrixgetline(Matrix* m, int line);
void matrixfree(Matrix * m);

#endif	/* _MATRIX_H */

